<div class="midbar_box">
	<%= render :partial => "/profile/partials/user_info" %>	
</div>
<div class="midbar_box">
	<div class="titlewords">
		<span>
		<% if @user == @login_user-%>
			我的需求
		<%else%>
			<%=@user.name%>的需求
		<%end%>	
		</span>
	</div>
	<% @requirements = @user.requirements.find(:all,:order => "updated_at DESC",:limit =>10)%>
	<%= render :partial => "/profile/partials/requirements"%>
</div>
<div class="midbar_box">
	<% @photos = @user.photos.find(:all, :order => "updated_at DESC", :limit => 5)%>
	<%= render :partial => "/profile/partials/photos" %>
</div>
<div class="midbar_box">
	<% @works = @user.works.find(:all, :order => "updated_at DESC", :limit => 5)%>
	<%= render :partial => "/profile/partials/works" %>
</div>
